﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZhiJiao.Models.Entities.Enums;
using ZhiJiao.Service.Dto;

namespace ZhiJiao.Service.Abstracts
{
    /// <summary>
    /// account服务
    /// </summary>
    public interface IAccountService
    {
        Task<BackJson> UserList(AccountFilterDto filter);

        Task<BackJson> AddSubmit(AddAccountDto account);

        Task<BackJson> Delete(string id);

        Task<BackJson> EditSubmit(AddAccountDto account);

        BackJson GetInsOptions();

        BackJson GetRoleOptions(RoleType roleType, long? insId);
    }
}
